{include file="header.tpl" title="HRFORMULAR"}
<form action="" method="post" target="_self" name="tongquat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>
  <tr>
    <td nowrap="nowrap">{$lbl_STYPE}</td>
    <td colspan="3" style="color:#FF0000;"><input name="STYPE" id="STYPE" type="text" style="background:{$color}" value="{$STYPE}" size="20" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','');" onblur="this.value=this.value.toUpperCase().replace(' ','');" {if $activefield eq 'enabled'} readonly="readOnly" {/if}/>
     * <input type="submit" name="find" value="    " id="replacement_find" /></td>
  </tr>
  <tr>
    <td>{$lbl_GRPSEQ}</td>
    <td colspan="3">
      	<select name="GRPSEQ" size="1">
 		{foreach from=$stt key=k item=v}
      	<option value="{$k}" {if $GRPSEQ eq $k} selected="selected" {/if}>{$v}</option>
 		{/foreach}
		</select>      </td>
    </tr>
  <tr>
    <td>{$lbl_GRPDESC}</td>
    <td colspan="3"><input name="GRPDESC" id="GRPDESC" type="text" value="{$GRPDESC}" size="50" maxlength="50"/></td>
    </tr>
  <tr>
    <td>{$lbl_SEQNO}</td>
    <td colspan="3">
		<select name="SEQNO" size="1">
 		{foreach from=$stt key=k item=v}
      	<option value="{$k}" {if $SEQNO eq $k} selected="selected" {/if}>{$v}</option>
 		{/foreach}
		</select>   </td>
	</tr>
  <tr>
    <td>{$lbl_FLDNAME}</td>
    <td colspan="3" style="color:#FF0000;">
    <select name="FLDNAME" size="1" {if $activefield eq 'enabled'} disabled="disabled" {/if}>
 		{foreach from=$cbo_fldname key=k item=v}
      	<option value="{$k}" {if $FLDNAME eq $k} selected="selected" {/if}>{$k} - {$v}</option>
 		{/foreach}
		</select> * <input type="hidden" name="FLDNAMEtmp" value="{$FLDNAME}"/></td>
    </tr>
  <tr>
    <td>{$lbl_FORMSTR}</td>
    <td colspan="3">
	 <input name="FORMSTR" id="FORMSTR" type="text" value="{$FORMSTR}" size="80" maxlength="1000" />	</td>
	</tr>
	<tr>
	  <td>{$lbl_REMARK}</td>
	  <td colspan="3"><input name="REMARK" id="REMARK" type="text" value="{$REMARK}" size="80" maxlength="50" /></td>
    </tr>
	<tr>
    <td>{$lbl_RND}</td>
    <td colspan="3"><span style="color:#FF0000;">
      <select name="RND" size="1" id="RND">
        
        
 		{foreach from=$cbo_RND key=k item=v}
      	
        
        <option value="{$k}" {if $RND eq $k} selected="selected" {/if}>{$k} - {$v}</option>
        
        
 		{/foreach}
		
      
      </select>
    </span></td>
	</tr>
<tr>    
    <td colspan="4">&nbsp;	</td>
</tr>
<tr>
<td width="20%">
<input value="{$lich_su_thay_doi}" name="lichsuthaydoi" type="button" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" onclick="mywindow = window.open('lich_su_hrformular.php?STYPE={$STYPE}&FLDNAME={$FLDNAME}', 'mywindow','menubar=0,scrollbars=1,resizable=0,width=700,height=300');mywindow.moveTo((screen.width-700)/2,(screen.height-300)/2);" /></td>
<td colspan="3" align="right" nowrap="nowrap">
   <input type="button" name="cancle" id="cancle" value="{$ten_cancle}" class="button_style" onclick="activeform(this.form,'STYPE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="{$ten_cap_nhat}" {if $activefield eq 'disabled' }disabled="disabled" {/if} class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="{$ten_themmoi}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="{$ten_chitiet}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
